package tech.yangzhijie.login.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import tech.yangzhijie.login.service.GroupService;
import tech.yangzhijie.login.vo.GroupVo;


@Controller
@RequestMapping("group")
public class GroupController {

	@Autowired
	private GroupService groupService;
	
	@RequestMapping("findGroupList")
	@ResponseBody
	public List<GroupVo> findGroupList(){
		return groupService.findGroupList();
	}
}
